package com.itheima.service;

import com.itheima.pojo.Account;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author Xiao
 * @date 2021/9/12
 */
public interface AccountService {
    List<Account> findAll();
    Account findById(Integer id);

    @Transactional
    public void transfer(String out,String in ,Double money) ;
}
